home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / bullet.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  2KB  |  50 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_BULLET_H
  4. #define _INLINE_BULLET_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef BULLET_BASE_NAME
  11. #define BULLET_BASE_NAME BulletBase
  12. #endif /* !BULLET_BASE_NAME */
  13.  
  14. #define CloseEngine(glyphEngine) \
  15.     LP1NR(0x24, CloseEngine, struct GlyphEngine *, glyphEngine, a0, \
  16.     , BULLET_BASE_NAME)
  17.  
  18. #define ObtainInfoA(glyphEngine, tagList) \
  19.     LP2(0x30, ULONG, ObtainInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  20.     , BULLET_BASE_NAME)
  21.  
  22. #ifndef NO_INLINE_STDARG
  23. #define ObtainInfo(a0, tags...) \
  24.     ({ULONG _tags[] = { tags }; ObtainInfoA((a0), (struct TagItem *)_tags);})
  25. #endif /* !NO_INLINE_STDARG */
  26.  
  27. #define OpenEngine() \
  28.     LP0(0x1e, struct GlyphEngine *, OpenEngine, \
  29.     , BULLET_BASE_NAME)
  30.  
  31. #define ReleaseInfoA(glyphEngine, tagList) \
  32.     LP2(0x36, ULONG, ReleaseInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  33.     , BULLET_BASE_NAME)
  34.  
  35. #ifndef NO_INLINE_STDARG
  36. #define ReleaseInfo(a0, tags...) \
  37.     ({ULONG _tags[] = { tags }; ReleaseInfoA((a0), (struct TagItem *)_tags);})
  38. #endif /* !NO_INLINE_STDARG */
  39.  
  40. #define SetInfoA(glyphEngine, tagList) \
  41.     LP2(0x2a, ULONG, SetInfoA, struct GlyphEngine *, glyphEngine, a0, struct TagItem *, tagList, a1, \
  42.     , BULLET_BASE_NAME)
  43.  
  44. #ifndef NO_INLINE_STDARG
  45. #define SetInfo(a0, tags...) \
  46.     ({ULONG _tags[] = { tags }; SetInfoA((a0), (struct TagItem *)_tags);})
  47. #endif /* !NO_INLINE_STDARG */
  48.  
  49. #endif /* !_INLINE_BULLET_H */
  50.